<?php

namespace App\Traits\GetLibrary;


use App\Library\Tencent\TencentCloud\TencentCloudApi;
use Exception;

trait GetApiLibrary
{
    /**
     * @return TencentCloudApi
     * @throws Exception
     */
    public function getTencentCloudLibrary(): TencentCloudApi
    {
        return loadLibrary('Tencent\TencentCloud\TencentCloudApi');
    }
}
